package vo;

/**
 * Spec entity. @author MyEclipse Persistence Tools
 */

public class Spec implements java.io.Serializable {

	// Fields

	private Integer id;
	private Product product;
	private Integer price;
	private String size;

	// Constructors

	/** default constructor */
	public Spec() {
	}

	/** full constructor */
	public Spec(Product product, Integer price, String size) {
		this.product = product;
		this.price = price;
		this.size = size;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getSize() {
		return this.size;
	}

	public void setSize(String size) {
		this.size = size;
	}

}